package com.example.demo.eunm;

public enum Hex implements Digit {
    A, B, C, D, E, F;

    private final int value;

    Hex() {
        value = 10 + ordinal();
    }

    @Override
    public int getValue() {
        return value;
    }
}
